package puyu.manage.service.source.entity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * 字典主表
 * @author makejava
 * @since 2024-08-01 16:41:19
 */
@Data
@ApiModel(description = "字典主表")
public class SysTSource  implements Serializable {
    private static final long serialVersionUID = -70538886756516245L;

    @ApiModelProperty("$column.comment")
    @TableId(type = IdType.ASSIGN_UUID)
    private String sourceId;

    @ApiModelProperty("$column.comment")
    private String code;

    @ApiModelProperty("$column.comment")
    private String name;

    @ApiModelProperty("$column.comment")
    private String status;

    @ApiModelProperty("1 表和视图  2  SQL语句  3  JSON串")
    private String sourcetype;

    @ApiModelProperty("$column.comment")
    private String datasource;

    @ApiModelProperty("$column.comment")
    private String remark;

    @ApiModelProperty("创建日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("修改人")
    private String updateBy;

}

